package com.ourteam.product.requirement.dao;

/**
 * Template Name : DAO数据对象
 * Template Version : 1
 * Template Last Modfiy Date : Fri Aug 18 15:51:23 CST 2017
 * Auto Generate Date : 2018-05-03 16:45:16
  * Warning ! This file will be overwrite when regenerate !
  *
 */
import org.apache.commons.lang.StringUtils;


public class ProductRequirement implements java.io.Serializable {
    private long id;

    /**
     * Attribute id Be Seted Falg
     */
    private boolean idSetted = false;

    /**
    * Attribute id is Null Falg
    */
    private boolean idNull = false;
    private long productDefineId;

    /**
     * Attribute productDefineId Be Seted Falg
     */
    private boolean productDefineIdSetted = false;

    /**
    * Attribute productDefineId is Null Falg
    */
    private boolean productDefineIdNull = false;
    private long parentId;

    /**
     * Attribute parentId Be Seted Falg
     */
    private boolean parentIdSetted = false;

    /**
    * Attribute parentId is Null Falg
    */
    private boolean parentIdNull = false;
    private String requestType;

    /**
     * Attribute requestType Be Seted Falg
     */
    private boolean requestTypeSetted = false;

    /**
    * Attribute requestType is Null Falg
    */
    private boolean requestTypeNull = false;
    private String requestCode;

    /**
     * Attribute requestCode Be Seted Falg
     */
    private boolean requestCodeSetted = false;

    /**
    * Attribute requestCode is Null Falg
    */
    private boolean requestCodeNull = false;
    private String requestName;

    /**
     * Attribute requestName Be Seted Falg
     */
    private boolean requestNameSetted = false;

    /**
    * Attribute requestName is Null Falg
    */
    private boolean requestNameNull = false;
    private String requestContent;

    /**
     * Attribute requestContent Be Seted Falg
     */
    private boolean requestContentSetted = false;

    /**
    * Attribute requestContent is Null Falg
    */
    private boolean requestContentNull = false;
    private String requestLevel;

    /**
     * Attribute requestLevel Be Seted Falg
     */
    private boolean requestLevelSetted = false;

    /**
    * Attribute requestLevel is Null Falg
    */
    private boolean requestLevelNull = false;
    private String requestRisk;

    /**
     * Attribute requestRisk Be Seted Falg
     */
    private boolean requestRiskSetted = false;

    /**
    * Attribute requestRisk is Null Falg
    */
    private boolean requestRiskNull = false;
    private java.util.Date proposerDate;

    /**
     * Attribute proposerDate Be Seted Falg
     */
    private boolean proposerDateSetted = false;

    /**
    * Attribute proposerDate is Null Falg
    */
    private boolean proposerDateNull = false;
    private long proposerId;

    /**
     * Attribute proposerId Be Seted Falg
     */
    private boolean proposerIdSetted = false;

    /**
    * Attribute proposerId is Null Falg
    */
    private boolean proposerIdNull = false;
    private long creatorId;

    /**
     * Attribute creatorId Be Seted Falg
     */
    private boolean creatorIdSetted = false;

    /**
    * Attribute creatorId is Null Falg
    */
    private boolean creatorIdNull = false;
    private java.util.Date createDate;

    /**
     * Attribute createDate Be Seted Falg
     */
    private boolean createDateSetted = false;

    /**
    * Attribute createDate is Null Falg
    */
    private boolean createDateNull = false;
    private long lastEditorId;

    /**
     * Attribute lastEditorId Be Seted Falg
     */
    private boolean lastEditorIdSetted = false;

    /**
    * Attribute lastEditorId is Null Falg
    */
    private boolean lastEditorIdNull = false;
    private java.util.Date lastEditDate;

    /**
     * Attribute lastEditDate Be Seted Falg
     */
    private boolean lastEditDateSetted = false;

    /**
    * Attribute lastEditDate is Null Falg
    */
    private boolean lastEditDateNull = false;
    private String status;

    /**
     * Attribute status Be Seted Falg
     */
    private boolean statusSetted = false;

    /**
    * Attribute status is Null Falg
    */
    private boolean statusNull = false;
    private String remarks;

    /**
     * Attribute remarks Be Seted Falg
     */
    private boolean remarksSetted = false;

    /**
    * Attribute remarks is Null Falg
    */
    private boolean remarksNull = false;
    private int sortIndex;

    /**
     * Attribute sortIndex Be Seted Falg
     */
    private boolean sortIndexSetted = false;

    /**
    * Attribute sortIndex is Null Falg
    */
    private boolean sortIndexNull = false;
    private int indent;

    /**
     * Attribute indent Be Seted Falg
     */
    private boolean indentSetted = false;

    /**
    * Attribute indent is Null Falg
    */
    private boolean indentNull = false;
    private String requestTrigger;

    /**
     * Attribute requestTrigger Be Seted Falg
     */
    private boolean requestTriggerSetted = false;

    /**
    * Attribute requestTrigger is Null Falg
    */
    private boolean requestTriggerNull = false;
    private String precondition;

    /**
     * Attribute precondition Be Seted Falg
     */
    private boolean preconditionSetted = false;

    /**
    * Attribute precondition is Null Falg
    */
    private boolean preconditionNull = false;
    private String requestKind;

    /**
     * Attribute requestKind Be Seted Falg
     */
    private boolean requestKindSetted = false;

    /**
    * Attribute requestKind is Null Falg
    */
    private boolean requestKindNull = false;
    private String requestSource;

    /**
     * Attribute requestSource Be Seted Falg
     */
    private boolean requestSourceSetted = false;

    /**
    * Attribute requestSource is Null Falg
    */
    private boolean requestSourceNull = false;
    private String proposerName;

    /**
     * Attribute proposerName Be Seted Falg
     */
    private boolean proposerNameSetted = false;

    /**
    * Attribute proposerName is Null Falg
    */
    private boolean proposerNameNull = false;
    private String creatorName;

    /**
     * Attribute creatorName Be Seted Falg
     */
    private boolean creatorNameSetted = false;

    /**
    * Attribute creatorName is Null Falg
    */
    private boolean creatorNameNull = false;
    private String lastEditorName;

    /**
     * Attribute lastEditorName Be Seted Falg
     */
    private boolean lastEditorNameSetted = false;

    /**
    * Attribute lastEditorName is Null Falg
    */
    private boolean lastEditorNameNull = false;

    public ProductRequirement() {
        super();
    }

    /**
         * Get id
         *
         * @return long
         */
    final public long getId() {
        return id;
    }

    /**
     * Set id
     *
     * @param long
     */
    final public void setId(long id) {
        this.id = id;

        this.idSetted = true;

        this.setIdNull(false);
    }

    /**
     * Get id Has Been Setted
     *
     * @return boolean
     */
    final public boolean isIdSetted() {
        return this.idSetted;
    }

    /**
     * Set id Null
     *
     */
    final public void setIdNull() {
        this.idNull = true;
    }

    final public void setIdNull(boolean aNullFlag) {
        this.idNull = aNullFlag;
    }

    final public boolean isIdNull() {
        return this.idNull;
    }

    /**
         * Get productDefineId
         *
         * @return long
         */
    final public long getProductDefineId() {
        return productDefineId;
    }

    /**
     * Set productDefineId
     *
     * @param long
     */
    final public void setProductDefineId(long productDefineId) {
        this.productDefineId = productDefineId;

        this.productDefineIdSetted = true;

        this.setProductDefineIdNull(false);
    }

    /**
     * Get productDefineId Has Been Setted
     *
     * @return boolean
     */
    final public boolean isProductDefineIdSetted() {
        return this.productDefineIdSetted;
    }

    /**
     * Set productDefineId Null
     *
     */
    final public void setProductDefineIdNull() {
        this.productDefineIdNull = true;
    }

    final public void setProductDefineIdNull(boolean aNullFlag) {
        this.productDefineIdNull = aNullFlag;
    }

    final public boolean isProductDefineIdNull() {
        return this.productDefineIdNull;
    }

    /**
         * Get parentId
         *
         * @return long
         */
    final public long getParentId() {
        return parentId;
    }

    /**
     * Set parentId
     *
     * @param long
     */
    final public void setParentId(long parentId) {
        this.parentId = parentId;

        this.parentIdSetted = true;

        this.setParentIdNull(false);
    }

    /**
     * Get parentId Has Been Setted
     *
     * @return boolean
     */
    final public boolean isParentIdSetted() {
        return this.parentIdSetted;
    }

    /**
     * Set parentId Null
     *
     */
    final public void setParentIdNull() {
        this.parentIdNull = true;
    }

    final public void setParentIdNull(boolean aNullFlag) {
        this.parentIdNull = aNullFlag;
    }

    final public boolean isParentIdNull() {
        return this.parentIdNull;
    }

    /**
         * Get requestType
         *
         * @return String
         */
    final public String getRequestType() {
        if (isRequestTypeNull()) {
            return null;
        } else {
            return StringUtils.trim(requestType);
        }
    }

    /**
     * Set requestType
     *
     * @param String
     */
    final public void setRequestType(String requestType) {
        this.requestType = StringUtils.trim(requestType);

        this.requestTypeSetted = true;

        this.setRequestTypeNull(this.requestType == null);
    }

    /**
     * Get requestType Has Been Setted
     *
     * @return boolean
     */
    final public boolean isRequestTypeSetted() {
        return this.requestTypeSetted;
    }

    /**
     * Set requestType Null
     *
     */
    final public void setRequestTypeNull() {
        this.requestTypeNull = true;
    }

    final public void setRequestTypeNull(boolean aNullFlag) {
        this.requestTypeNull = aNullFlag;
    }

    final public boolean isRequestTypeNull() {
        return this.requestTypeNull;
    }

    /**
         * Get requestCode
         *
         * @return String
         */
    final public String getRequestCode() {
        if (isRequestCodeNull()) {
            return null;
        } else {
            return StringUtils.trim(requestCode);
        }
    }

    /**
     * Set requestCode
     *
     * @param String
     */
    final public void setRequestCode(String requestCode) {
        this.requestCode = StringUtils.trim(requestCode);

        this.requestCodeSetted = true;

        this.setRequestCodeNull(this.requestCode == null);
    }

    /**
     * Get requestCode Has Been Setted
     *
     * @return boolean
     */
    final public boolean isRequestCodeSetted() {
        return this.requestCodeSetted;
    }

    /**
     * Set requestCode Null
     *
     */
    final public void setRequestCodeNull() {
        this.requestCodeNull = true;
    }

    final public void setRequestCodeNull(boolean aNullFlag) {
        this.requestCodeNull = aNullFlag;
    }

    final public boolean isRequestCodeNull() {
        return this.requestCodeNull;
    }

    /**
         * Get requestName
         *
         * @return String
         */
    final public String getRequestName() {
        if (isRequestNameNull()) {
            return null;
        } else {
            return StringUtils.trim(requestName);
        }
    }

    /**
     * Set requestName
     *
     * @param String
     */
    final public void setRequestName(String requestName) {
        this.requestName = StringUtils.trim(requestName);

        this.requestNameSetted = true;

        this.setRequestNameNull(this.requestName == null);
    }

    /**
     * Get requestName Has Been Setted
     *
     * @return boolean
     */
    final public boolean isRequestNameSetted() {
        return this.requestNameSetted;
    }

    /**
     * Set requestName Null
     *
     */
    final public void setRequestNameNull() {
        this.requestNameNull = true;
    }

    final public void setRequestNameNull(boolean aNullFlag) {
        this.requestNameNull = aNullFlag;
    }

    final public boolean isRequestNameNull() {
        return this.requestNameNull;
    }

    /**
         * Get requestContent
         *
         * @return String
         */
    final public String getRequestContent() {
        if (isRequestContentNull()) {
            return null;
        } else {
            return StringUtils.trim(requestContent);
        }
    }

    /**
     * Set requestContent
     *
     * @param String
     */
    final public void setRequestContent(String requestContent) {
        this.requestContent = StringUtils.trim(requestContent);

        this.requestContentSetted = true;

        this.setRequestContentNull(this.requestContent == null);
    }

    /**
     * Get requestContent Has Been Setted
     *
     * @return boolean
     */
    final public boolean isRequestContentSetted() {
        return this.requestContentSetted;
    }

    /**
     * Set requestContent Null
     *
     */
    final public void setRequestContentNull() {
        this.requestContentNull = true;
    }

    final public void setRequestContentNull(boolean aNullFlag) {
        this.requestContentNull = aNullFlag;
    }

    final public boolean isRequestContentNull() {
        return this.requestContentNull;
    }

    /**
         * Get requestLevel
         *
         * @return String
         */
    final public String getRequestLevel() {
        if (isRequestLevelNull()) {
            return null;
        } else {
            return StringUtils.trim(requestLevel);
        }
    }

    /**
     * Set requestLevel
     *
     * @param String
     */
    final public void setRequestLevel(String requestLevel) {
        this.requestLevel = StringUtils.trim(requestLevel);

        this.requestLevelSetted = true;

        this.setRequestLevelNull(this.requestLevel == null);
    }

    /**
     * Get requestLevel Has Been Setted
     *
     * @return boolean
     */
    final public boolean isRequestLevelSetted() {
        return this.requestLevelSetted;
    }

    /**
     * Set requestLevel Null
     *
     */
    final public void setRequestLevelNull() {
        this.requestLevelNull = true;
    }

    final public void setRequestLevelNull(boolean aNullFlag) {
        this.requestLevelNull = aNullFlag;
    }

    final public boolean isRequestLevelNull() {
        return this.requestLevelNull;
    }

    /**
         * Get requestRisk
         *
         * @return String
         */
    final public String getRequestRisk() {
        if (isRequestRiskNull()) {
            return null;
        } else {
            return StringUtils.trim(requestRisk);
        }
    }

    /**
     * Set requestRisk
     *
     * @param String
     */
    final public void setRequestRisk(String requestRisk) {
        this.requestRisk = StringUtils.trim(requestRisk);

        this.requestRiskSetted = true;

        this.setRequestRiskNull(this.requestRisk == null);
    }

    /**
     * Get requestRisk Has Been Setted
     *
     * @return boolean
     */
    final public boolean isRequestRiskSetted() {
        return this.requestRiskSetted;
    }

    /**
     * Set requestRisk Null
     *
     */
    final public void setRequestRiskNull() {
        this.requestRiskNull = true;
    }

    final public void setRequestRiskNull(boolean aNullFlag) {
        this.requestRiskNull = aNullFlag;
    }

    final public boolean isRequestRiskNull() {
        return this.requestRiskNull;
    }

    /**
         * Get proposerDate
         *
         * @return java.util.Date
         */
    final public java.util.Date getProposerDate() {
        return proposerDate;
    }

    /**
     * Set proposerDate
     *
     * @param java.util.Date
     */
    final public void setProposerDate(java.util.Date proposerDate) {
        this.proposerDate = proposerDate;

        this.proposerDateSetted = true;

        this.setProposerDateNull(this.proposerDate == null);
    }

    /**
     * Get proposerDate Has Been Setted
     *
     * @return boolean
     */
    final public boolean isProposerDateSetted() {
        return this.proposerDateSetted;
    }

    /**
     * Set proposerDate Null
     *
     */
    final public void setProposerDateNull() {
        this.proposerDateNull = true;
    }

    final public void setProposerDateNull(boolean aNullFlag) {
        this.proposerDateNull = aNullFlag;
    }

    final public boolean isProposerDateNull() {
        return this.proposerDateNull;
    }

    /**
         * Get proposerId
         *
         * @return long
         */
    final public long getProposerId() {
        return proposerId;
    }

    /**
     * Set proposerId
     *
     * @param long
     */
    final public void setProposerId(long proposerId) {
        this.proposerId = proposerId;

        this.proposerIdSetted = true;

        this.setProposerIdNull(false);
    }

    /**
     * Get proposerId Has Been Setted
     *
     * @return boolean
     */
    final public boolean isProposerIdSetted() {
        return this.proposerIdSetted;
    }

    /**
     * Set proposerId Null
     *
     */
    final public void setProposerIdNull() {
        this.proposerIdNull = true;
    }

    final public void setProposerIdNull(boolean aNullFlag) {
        this.proposerIdNull = aNullFlag;
    }

    final public boolean isProposerIdNull() {
        return this.proposerIdNull;
    }

    /**
         * Get creatorId
         *
         * @return long
         */
    final public long getCreatorId() {
        return creatorId;
    }

    /**
     * Set creatorId
     *
     * @param long
     */
    final public void setCreatorId(long creatorId) {
        this.creatorId = creatorId;

        this.creatorIdSetted = true;

        this.setCreatorIdNull(false);
    }

    /**
     * Get creatorId Has Been Setted
     *
     * @return boolean
     */
    final public boolean isCreatorIdSetted() {
        return this.creatorIdSetted;
    }

    /**
     * Set creatorId Null
     *
     */
    final public void setCreatorIdNull() {
        this.creatorIdNull = true;
    }

    final public void setCreatorIdNull(boolean aNullFlag) {
        this.creatorIdNull = aNullFlag;
    }

    final public boolean isCreatorIdNull() {
        return this.creatorIdNull;
    }

    /**
         * Get createDate
         *
         * @return java.util.Date
         */
    final public java.util.Date getCreateDate() {
        return createDate;
    }

    /**
     * Set createDate
     *
     * @param java.util.Date
     */
    final public void setCreateDate(java.util.Date createDate) {
        this.createDate = createDate;

        this.createDateSetted = true;

        this.setCreateDateNull(this.createDate == null);
    }

    /**
     * Get createDate Has Been Setted
     *
     * @return boolean
     */
    final public boolean isCreateDateSetted() {
        return this.createDateSetted;
    }

    /**
     * Set createDate Null
     *
     */
    final public void setCreateDateNull() {
        this.createDateNull = true;
    }

    final public void setCreateDateNull(boolean aNullFlag) {
        this.createDateNull = aNullFlag;
    }

    final public boolean isCreateDateNull() {
        return this.createDateNull;
    }

    /**
         * Get lastEditorId
         *
         * @return long
         */
    final public long getLastEditorId() {
        return lastEditorId;
    }

    /**
     * Set lastEditorId
     *
     * @param long
     */
    final public void setLastEditorId(long lastEditorId) {
        this.lastEditorId = lastEditorId;

        this.lastEditorIdSetted = true;

        this.setLastEditorIdNull(false);
    }

    /**
     * Get lastEditorId Has Been Setted
     *
     * @return boolean
     */
    final public boolean isLastEditorIdSetted() {
        return this.lastEditorIdSetted;
    }

    /**
     * Set lastEditorId Null
     *
     */
    final public void setLastEditorIdNull() {
        this.lastEditorIdNull = true;
    }

    final public void setLastEditorIdNull(boolean aNullFlag) {
        this.lastEditorIdNull = aNullFlag;
    }

    final public boolean isLastEditorIdNull() {
        return this.lastEditorIdNull;
    }

    /**
         * Get lastEditDate
         *
         * @return java.util.Date
         */
    final public java.util.Date getLastEditDate() {
        return lastEditDate;
    }

    /**
     * Set lastEditDate
     *
     * @param java.util.Date
     */
    final public void setLastEditDate(java.util.Date lastEditDate) {
        this.lastEditDate = lastEditDate;

        this.lastEditDateSetted = true;

        this.setLastEditDateNull(this.lastEditDate == null);
    }

    /**
     * Get lastEditDate Has Been Setted
     *
     * @return boolean
     */
    final public boolean isLastEditDateSetted() {
        return this.lastEditDateSetted;
    }

    /**
     * Set lastEditDate Null
     *
     */
    final public void setLastEditDateNull() {
        this.lastEditDateNull = true;
    }

    final public void setLastEditDateNull(boolean aNullFlag) {
        this.lastEditDateNull = aNullFlag;
    }

    final public boolean isLastEditDateNull() {
        return this.lastEditDateNull;
    }

    /**
         * Get status
         *
         * @return String
         */
    final public String getStatus() {
        if (isStatusNull()) {
            return null;
        } else {
            return StringUtils.trim(status);
        }
    }

    /**
     * Set status
     *
     * @param String
     */
    final public void setStatus(String status) {
        this.status = StringUtils.trim(status);

        this.statusSetted = true;

        this.setStatusNull(this.status == null);
    }

    /**
     * Get status Has Been Setted
     *
     * @return boolean
     */
    final public boolean isStatusSetted() {
        return this.statusSetted;
    }

    /**
     * Set status Null
     *
     */
    final public void setStatusNull() {
        this.statusNull = true;
    }

    final public void setStatusNull(boolean aNullFlag) {
        this.statusNull = aNullFlag;
    }

    final public boolean isStatusNull() {
        return this.statusNull;
    }

    /**
         * Get remarks
         *
         * @return String
         */
    final public String getRemarks() {
        if (isRemarksNull()) {
            return null;
        } else {
            return StringUtils.trim(remarks);
        }
    }

    /**
     * Set remarks
     *
     * @param String
     */
    final public void setRemarks(String remarks) {
        this.remarks = StringUtils.trim(remarks);

        this.remarksSetted = true;

        this.setRemarksNull(this.remarks == null);
    }

    /**
     * Get remarks Has Been Setted
     *
     * @return boolean
     */
    final public boolean isRemarksSetted() {
        return this.remarksSetted;
    }

    /**
     * Set remarks Null
     *
     */
    final public void setRemarksNull() {
        this.remarksNull = true;
    }

    final public void setRemarksNull(boolean aNullFlag) {
        this.remarksNull = aNullFlag;
    }

    final public boolean isRemarksNull() {
        return this.remarksNull;
    }

    /**
         * Get sortIndex
         *
         * @return int
         */
    final public int getSortIndex() {
        return sortIndex;
    }

    /**
     * Set sortIndex
     *
     * @param int
     */
    final public void setSortIndex(int sortIndex) {
        this.sortIndex = sortIndex;

        this.sortIndexSetted = true;

        this.setSortIndexNull(false);
    }

    /**
     * Get sortIndex Has Been Setted
     *
     * @return boolean
     */
    final public boolean isSortIndexSetted() {
        return this.sortIndexSetted;
    }

    /**
     * Set sortIndex Null
     *
     */
    final public void setSortIndexNull() {
        this.sortIndexNull = true;
    }

    final public void setSortIndexNull(boolean aNullFlag) {
        this.sortIndexNull = aNullFlag;
    }

    final public boolean isSortIndexNull() {
        return this.sortIndexNull;
    }

    /**
         * Get indent
         *
         * @return int
         */
    final public int getIndent() {
        return indent;
    }

    /**
     * Set indent
     *
     * @param int
     */
    final public void setIndent(int indent) {
        this.indent = indent;

        this.indentSetted = true;

        this.setIndentNull(false);
    }

    /**
     * Get indent Has Been Setted
     *
     * @return boolean
     */
    final public boolean isIndentSetted() {
        return this.indentSetted;
    }

    /**
     * Set indent Null
     *
     */
    final public void setIndentNull() {
        this.indentNull = true;
    }

    final public void setIndentNull(boolean aNullFlag) {
        this.indentNull = aNullFlag;
    }

    final public boolean isIndentNull() {
        return this.indentNull;
    }

    /**
         * Get requestTrigger
         *
         * @return String
         */
    final public String getRequestTrigger() {
        if (isRequestTriggerNull()) {
            return null;
        } else {
            return StringUtils.trim(requestTrigger);
        }
    }

    /**
     * Set requestTrigger
     *
     * @param String
     */
    final public void setRequestTrigger(String requestTrigger) {
        this.requestTrigger = StringUtils.trim(requestTrigger);

        this.requestTriggerSetted = true;

        this.setRequestTriggerNull(this.requestTrigger == null);
    }

    /**
     * Get requestTrigger Has Been Setted
     *
     * @return boolean
     */
    final public boolean isRequestTriggerSetted() {
        return this.requestTriggerSetted;
    }

    /**
     * Set requestTrigger Null
     *
     */
    final public void setRequestTriggerNull() {
        this.requestTriggerNull = true;
    }

    final public void setRequestTriggerNull(boolean aNullFlag) {
        this.requestTriggerNull = aNullFlag;
    }

    final public boolean isRequestTriggerNull() {
        return this.requestTriggerNull;
    }

    /**
         * Get precondition
         *
         * @return String
         */
    final public String getPrecondition() {
        if (isPreconditionNull()) {
            return null;
        } else {
            return StringUtils.trim(precondition);
        }
    }

    /**
     * Set precondition
     *
     * @param String
     */
    final public void setPrecondition(String precondition) {
        this.precondition = StringUtils.trim(precondition);

        this.preconditionSetted = true;

        this.setPreconditionNull(this.precondition == null);
    }

    /**
     * Get precondition Has Been Setted
     *
     * @return boolean
     */
    final public boolean isPreconditionSetted() {
        return this.preconditionSetted;
    }

    /**
     * Set precondition Null
     *
     */
    final public void setPreconditionNull() {
        this.preconditionNull = true;
    }

    final public void setPreconditionNull(boolean aNullFlag) {
        this.preconditionNull = aNullFlag;
    }

    final public boolean isPreconditionNull() {
        return this.preconditionNull;
    }

    /**
         * Get requestKind
         *
         * @return String
         */
    final public String getRequestKind() {
        if (isRequestKindNull()) {
            return null;
        } else {
            return StringUtils.trim(requestKind);
        }
    }

    /**
     * Set requestKind
     *
     * @param String
     */
    final public void setRequestKind(String requestKind) {
        this.requestKind = StringUtils.trim(requestKind);

        this.requestKindSetted = true;

        this.setRequestKindNull(this.requestKind == null);
    }

    /**
     * Get requestKind Has Been Setted
     *
     * @return boolean
     */
    final public boolean isRequestKindSetted() {
        return this.requestKindSetted;
    }

    /**
     * Set requestKind Null
     *
     */
    final public void setRequestKindNull() {
        this.requestKindNull = true;
    }

    final public void setRequestKindNull(boolean aNullFlag) {
        this.requestKindNull = aNullFlag;
    }

    final public boolean isRequestKindNull() {
        return this.requestKindNull;
    }

    /**
         * Get requestSource
         *
         * @return String
         */
    final public String getRequestSource() {
        if (isRequestSourceNull()) {
            return null;
        } else {
            return StringUtils.trim(requestSource);
        }
    }

    /**
     * Set requestSource
     *
     * @param String
     */
    final public void setRequestSource(String requestSource) {
        this.requestSource = StringUtils.trim(requestSource);

        this.requestSourceSetted = true;

        this.setRequestSourceNull(this.requestSource == null);
    }

    /**
     * Get requestSource Has Been Setted
     *
     * @return boolean
     */
    final public boolean isRequestSourceSetted() {
        return this.requestSourceSetted;
    }

    /**
     * Set requestSource Null
     *
     */
    final public void setRequestSourceNull() {
        this.requestSourceNull = true;
    }

    final public void setRequestSourceNull(boolean aNullFlag) {
        this.requestSourceNull = aNullFlag;
    }

    final public boolean isRequestSourceNull() {
        return this.requestSourceNull;
    }

    /**
         * Get proposerName
         *
         * @return String
         */
    final public String getProposerName() {
        if (isProposerNameNull()) {
            return null;
        } else {
            return StringUtils.trim(proposerName);
        }
    }

    /**
     * Set proposerName
     *
     * @param String
     */
    final public void setProposerName(String proposerName) {
        this.proposerName = StringUtils.trim(proposerName);

        this.proposerNameSetted = true;

        this.setProposerNameNull(this.proposerName == null);
    }

    /**
     * Get proposerName Has Been Setted
     *
     * @return boolean
     */
    final public boolean isProposerNameSetted() {
        return this.proposerNameSetted;
    }

    /**
     * Set proposerName Null
     *
     */
    final public void setProposerNameNull() {
        this.proposerNameNull = true;
    }

    final public void setProposerNameNull(boolean aNullFlag) {
        this.proposerNameNull = aNullFlag;
    }

    final public boolean isProposerNameNull() {
        return this.proposerNameNull;
    }

    /**
         * Get creatorName
         *
         * @return String
         */
    final public String getCreatorName() {
        if (isCreatorNameNull()) {
            return null;
        } else {
            return StringUtils.trim(creatorName);
        }
    }

    /**
     * Set creatorName
     *
     * @param String
     */
    final public void setCreatorName(String creatorName) {
        this.creatorName = StringUtils.trim(creatorName);

        this.creatorNameSetted = true;

        this.setCreatorNameNull(this.creatorName == null);
    }

    /**
     * Get creatorName Has Been Setted
     *
     * @return boolean
     */
    final public boolean isCreatorNameSetted() {
        return this.creatorNameSetted;
    }

    /**
     * Set creatorName Null
     *
     */
    final public void setCreatorNameNull() {
        this.creatorNameNull = true;
    }

    final public void setCreatorNameNull(boolean aNullFlag) {
        this.creatorNameNull = aNullFlag;
    }

    final public boolean isCreatorNameNull() {
        return this.creatorNameNull;
    }

    /**
         * Get lastEditorName
         *
         * @return String
         */
    final public String getLastEditorName() {
        if (isLastEditorNameNull()) {
            return null;
        } else {
            return StringUtils.trim(lastEditorName);
        }
    }

    /**
     * Set lastEditorName
     *
     * @param String
     */
    final public void setLastEditorName(String lastEditorName) {
        this.lastEditorName = StringUtils.trim(lastEditorName);

        this.lastEditorNameSetted = true;

        this.setLastEditorNameNull(this.lastEditorName == null);
    }

    /**
     * Get lastEditorName Has Been Setted
     *
     * @return boolean
     */
    final public boolean isLastEditorNameSetted() {
        return this.lastEditorNameSetted;
    }

    /**
     * Set lastEditorName Null
     *
     */
    final public void setLastEditorNameNull() {
        this.lastEditorNameNull = true;
    }

    final public void setLastEditorNameNull(boolean aNullFlag) {
        this.lastEditorNameNull = aNullFlag;
    }

    final public boolean isLastEditorNameNull() {
        return this.lastEditorNameNull;
    }

    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = (prime * result) + (int) (getId() ^ (getId() >>> 32));

        return result;
    }

    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }

        if ((obj instanceof ProductRequirement) == false) {
            return false;
        }

        ProductRequirement other = (ProductRequirement) obj;

        if (getId() != other.getId()) {
            return false;
        }

        return true;
    }

    public String toString() {
        StringBuffer buffer = new StringBuffer();

        buffer.append("[");

        buffer.append("id=");
        buffer.append(this.id);

        buffer.append("productDefineId=");
        buffer.append(this.productDefineId);

        buffer.append("parentId=");
        buffer.append(this.parentId);

        buffer.append("requestType=");
        buffer.append(this.requestType);

        buffer.append("requestCode=");
        buffer.append(this.requestCode);

        buffer.append("requestName=");
        buffer.append(this.requestName);

        buffer.append("requestContent=");
        buffer.append(this.requestContent);

        buffer.append("requestLevel=");
        buffer.append(this.requestLevel);

        buffer.append("requestRisk=");
        buffer.append(this.requestRisk);

        buffer.append("proposerDate=");
        buffer.append(this.proposerDate);

        buffer.append("proposerId=");
        buffer.append(this.proposerId);

        buffer.append("creatorId=");
        buffer.append(this.creatorId);

        buffer.append("createDate=");
        buffer.append(this.createDate);

        buffer.append("lastEditorId=");
        buffer.append(this.lastEditorId);

        buffer.append("lastEditDate=");
        buffer.append(this.lastEditDate);

        buffer.append("status=");
        buffer.append(this.status);

        buffer.append("remarks=");
        buffer.append(this.remarks);

        buffer.append("creatorName=");
        buffer.append(this.creatorName);

        buffer.append("lastEditorName=");
        buffer.append(this.lastEditorName);

        buffer.append("proposerName=");
        buffer.append(this.proposerName);

        buffer.append("sortIndex=");
        buffer.append(this.sortIndex);

        buffer.append("indent=");
        buffer.append(this.indent);

        buffer.append("requestTrigger=");
        buffer.append(this.requestTrigger);

        buffer.append("precondition=");
        buffer.append(this.precondition);

        buffer.append("requestKind=");
        buffer.append(this.requestKind);

        buffer.append("requestSource=");
        buffer.append(this.requestSource);

        buffer.append("]");

        return buffer.toString();
    }
}
